package vip.liux.contracts.models.product;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
import vip.liux.domain.entities.auditing.AuditedEntity;

@Getter
@Setter
@Entity
@Table(name = "shop_brand")
public class Brand extends AuditedEntity<Long> {
    /**
     * 品牌编号
     */
    @Column(name = "brand_no", nullable = false, length = 128)
    private String brandNo;

    /**
     * 品牌名称
     */
    @Column(name = "brand_name", nullable = false, length = 256)
    private String brandName;

    /**
     * 品牌logo
     */
    @Column(name = "logo", nullable = false, length = 256)
    private String logo;

    /**
     * 品牌描述
     */
    @Column(name = "description")
    private String description;

    public void setId(Long id) {
        super.setId(id);
    }
}